/* 基础样式 */
body {
    font-family: 'Microsoft YaHei', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f8f0; /* 浅绿色背景 */
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 头部样式 */
.header {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header h1 {
    margin: 0;
    font-size: 2.2em;
}

.header p {
    margin: 5px 0 0;
    font-size: 1.1em;
    opacity: 0.9;
}

/* 主内容区 */
.main-container {
    flex: 1;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

/* 按钮组样式 */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
}

.button-group button {
    padding: 12px 20px;
    background-color: #66BB6A;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.button-group button:hover {
    background-color: #57A55A;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* 图表容器 */
.chart-container {
    background-color: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-top: 20px;
    height: 600px;
    position: relative;
}

/* 页脚样式 */
.footer {
    text-align: center;
    padding: 15px;
    background-color: #4CAF50;
    color: white;
    font-size: 0.9em;
    margin-top: auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .button-group {
        gap: 10px;
    }

    .button-group button {
        padding: 10px 15px;
        font-size: 14px;
    }

    .chart-container {
        height: 500px;
        padding: 15px;
    }
}